package com.hz.ruoyiequipment.data.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hz.ruoyiequipment.data.domain.vo.CqEquipment;
import com.hz.ruoyiequipment.data.domain.vo.CqTimeData;
import com.ruoyi.common.core.web.domain.AjaxResult;

/**
 * @Author: xqd
 * @CreateDate: 2025/03/09/16:51
 * @Description:
 */
public interface AgrEquipmentCqService extends IService<CqEquipment> {
    /**
     * @return:
     * @Author: xqd
     * @Date: 2025/3/9 16:52
     * @Description: 修改虫情设备表数据
     */
    AjaxResult updateAgrEquipmentCq(CqEquipment cqEquipment);

    /**
     * @return:
     * @Author: xqd
     * @Date: 2025/3/9 16:53
     * @Description: 删除虫情设备表数据
     */
    AjaxResult delAgrEquipmentCqByEquipmentId(Long equipmentId);


    // 查询虫情设备表数据
    AjaxResult getCqTimeData(Long equipmentId);



    // 查询虫情设备表数据
    AjaxResult getCqTimeDatas(Long equipmentId);

    // 查询虫情设备表数据头部
    AjaxResult getCqTimeDataHead(Long equipmentId);

    //新增虫情历史数据信息
    AjaxResult insertCqTimeData(CqTimeData  cqTimeData);
}
